package com.CMS.client;


import java.util.List;

import com.CMS.server.domain.Galery;
import com.CMS.server.domain.Images;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("multimedia")
public interface MultimediaService extends RemoteService {

   public void setGallery(long idPage,String nameGalery);
   
   public boolean isSetImageGallery();
   
   public List<Galery> fetch();
   
   public List<Images> fetchImage(long idGalery);
   
   public String validateGalery(String name);
   
   public String validatePageGalery(long idPage);
   
   public String getGaleryName(long id);
   
   public void updateImageGallery(long id);
   
   public void updateNameGallery(String name,long id);
   
   public void updateStateImage(int state,long id);
}
